package query;

import java.io.IOException;
import java.io.Serializable;
import java.util.Vector;

import model.Tarif;

import server.MySqlConnector;

public class TarifeSuchenQuery extends AbstractQuery implements Serializable{
	private static final long serialVersionUID = 2661011647794721161L;
	Vector<Tarif> tarife;
	public void doAction() {
		tarife = MySqlConnector.getAllTarife();
		
		try {
			
			serverOutputStream.writeObject(tarife);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}

}
